#ifndef ADDSHEETCOMMAND_H
#define ADDSHEETCOMMAND_H

#include <QUndoCommand>
#include "FrakOutDataItem.h"
class FrakOutController;

class AddSheetCommand : public QUndoCommand
{
public:
    AddSheetCommand(const QString& text,
                    FrakOutController& controller,
                    const FrakOutDataItem& sheet,
                    int sheetIndex);
    virtual void redo();
    virtual void undo();

private:
    FrakOutController& m_controller;
    FrakOutDataItem m_sheet;
    int m_sheetIndex;
};

#endif // ADDSHEETCOMMAND_H
